export const constantRoute = [
    {
        path: '/login',
        component: () => import('@/views/Login/index.vue'),
        name: 'login', //命名路由
        meta: {
            title: '登录', //菜单标题
            hidden: true //代表路由标题在菜单中是否隐藏
        }
    },
    {
        // 登录成功后展示数据的路由
        path: '/',
        component: () => import('@/layout/index.vue'),
        name: 'layout',
        meta: {
            title: '', //菜单标题
            hidden: false,
            icon: 'Avatar'
        },
    }
]